home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 - Inside Community Club / Acrobat Pro 6 D.bin / installer / Data1.cab / ImageConversion.api / EXVW / 402 < prev    next >
Encoding:
Text File  |  2003-05-15  |  3.9 KB  |  99 lines

  1. gWidth = max(
  2.     zstring_width(zstring: '$$$IDS_OUTPUT_COLOR_POLICY_DISCARD'),
  3.     zstring_width(zstring: '$$$IDS_OUTPUT_COLOR_POLICY_EMBED'),
  4.     zstring_width(zstring: '$$$IDS_OUTPUT_COLOR_POLICY_ASK'),
  5.     zstring_width(zstring: '$$$IDS_NOT_APPLICABLE'),
  6.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_LOW'),
  7.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_MEDIUM_LOW'),
  8.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_MEDIUM'),
  9.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_MEDIUM_HIGH'),
  10.     zstring_width(zstring: '$$$IDS_COMPRESSION_JPEG_HIGH'),
  11.     zstring_width(zstring: '$$$IDS_JPEG_FORMAT_BASELINE'),
  12.     zstring_width(zstring: '$$$IDS_JPEG_FORMAT_OPTIMIZED'),
  13.     zstring_width(zstring: '$$$IDS_JPEG_FORMAT_PROGRESSIVE_3'),
  14.     zstring_width(zstring: '$$$IDS_JPEG_FORMAT_PROGRESSIVE_4'),
  15.     zstring_width(zstring: '$$$IDS_JPEG_FORMAT_PROGRESSIVE_5'));
  16.  
  17. gLabelWidth = max(
  18.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Rgb'),
  19.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Cmyk'),
  20.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Gray'),
  21.     zstring_width(zstring: '$$$/Dialogs/SaveAs/ColorManagement/Other'),
  22.     zstring_width(zstring: '$$$/Dialogs/JpegOptions/Compression/Gray'),
  23.     zstring_width(zstring: '$$$/Dialogs/JpegOptions/Compression/Color'),
  24.     zstring_width(zstring: '$$$/Dialogs/JpegOptions/Format'));
  25.  
  26.  
  27. dialog(name: '$$$/Dialogs/JpegOptionsExtract')
  28. {
  29.     view(align_children: align_left, alignment: align_fill)
  30.     {
  31.         cluster(name: '$$$/Dialogs/Batch/Destination', align_children: align_left)
  32.         {
  33.             view(align_children: align_row, alignment: align_fill)
  34.             {
  35.                 static_text(item_id: 'desc', name: '$$$/EmptyString= ', alignment: align_fill);
  36.                 button(item_id: 'dest', name: '$$$/Dialogs/Batch/Choose');
  37.             }
  38.             check_box(item_id: 'dont', name: '$$$/Dialogs/Batch/DontOverwrite');
  39.         }
  40.  
  41.         cluster(name: '$$$/Dialogs/SaveAs/Settings', align_children: align_left)
  42.         {
  43.             view(align_children: align_row)
  44.             {
  45.                 static_text(name: '$$$/Dialogs/JpegOptions/Compression/Gray', width: gLabelWidth, alignment: align_right);
  46.                 popup(item_id: 'gray', width: gWidth);
  47.             }
  48.             view(align_children: align_row)
  49.             {
  50.                 static_text(name: '$$$/Dialogs/JpegOptions/Compression/Color', width: gLabelWidth, alignment: align_right);
  51.                 popup(item_id: 'colr', width: gWidth);
  52.             }
  53.             view(align_children: align_row)
  54.             {
  55.                 static_text(name: '$$$/Dialogs/JpegOptions/Format', width: gLabelWidth, alignment: align_right);
  56.                 popup(item_id: 'frmt', width: gWidth);
  57.             }
  58.         }
  59.         
  60.         cluster(name: '$$$/Dialogs/SaveAs/ColorManagement', align_children: align_left)
  61.         {
  62.             view(align_children: align_right)
  63.             {
  64.                 view(align_children: align_row)
  65.                 {
  66.                     static_text(item_id: 'cmrL', name: '$$$/Dialogs/SaveAs/ColorManagement/Rgb', width: gLabelWidth, alignment: align_right);
  67.                     popup(item_id: 'cmrC', width: gWidth);
  68.                 }
  69.                 view(align_children: align_row)
  70.                 {
  71.                     static_text(item_id: 'cmcL', name: '$$$/Dialogs/SaveAs/ColorManagement/Cmyk', width: gLabelWidth, alignment: align_right);
  72.                     popup(item_id: 'cmcC', width: gWidth);
  73.                 }
  74.                 view(align_children: align_row)
  75.                 {
  76.                     static_text(item_id: 'cmgL', name: '$$$/Dialogs/SaveAs/ColorManagement/Gray', width: gLabelWidth, alignment: align_right);
  77.                     popup(item_id: 'cmgC', width: gWidth);
  78.                 }
  79.                 view(align_children: align_row)
  80.                 {
  81.                     static_text(item_id: 'cmoL', name: '$$$/Dialogs/SaveAs/ColorManagement/Other', width: gLabelWidth, alignment: align_right);
  82.                     popup(item_id: 'cmoC', width: gWidth);
  83.                 }
  84.             }
  85.         }
  86.  
  87.         cluster(name: '$$$/Dialogs/Extract/Settings', align_children: align_right)
  88.         {
  89.             view(align_children: align_row)
  90.             {
  91.                 static_text(name: '$$$/Dialogs/Extract/Settings/Threshold');
  92.                 popup(item_id: 'trsh', width: 12 * max_char_width());
  93.             }
  94.         }
  95.  
  96.         ok_cancel();
  97.     }
  98. }
  99.